package com.ciko.code.constant;

/**
 * Created by ciko on 2015/11/22.
 */
public class Api {

    /**
     * 太保的服务器
     */
//    public static final String ROOT_URL = "http://192.168.0.143:8080/lqsw_website/";

    //接口地址
    public static final String ROOT_URL = Constants.isTestUrl ? "http://121.41.18.34:555/lqsw_website/" : "http://42.121.253.209:8081/lqsw_website/";

    //public static final String ROOT_URL = "http://192.168.0.191:8080/lqsw_website/";
//    public static final String ROOT_URL = "http://192.168.0.116:8080/lqsw_website/";
//    public static final String ROOT_URL = "http://120.26.200.172:8080/hztbserver/";

    /**
     * 自己的服务器
     */
    public static final String ROOT_URL_TAIBAO = Constants.isTestUrl ? "http://121.41.18.34:555/hzlqswserver/" : "http://42.121.255.69:8080/hzlqswserver/";

    private static final String URI_END = ".do";

    /*用户*/
    public static final String userLogin = ROOT_URL + "getUserInfoForWork" + URI_END;

    /*宣传*/
//    public static final String qryModuleList = ROOT_URL + "qryModuleList" + URI_END;
    public static final String qryModuleList = ROOT_URL_TAIBAO + "qryModuleList" + URI_END;
    public static final String qryModuleContentList = ROOT_URL + "qryModuleContentList" + URI_END;
    public static final String sleBannerList = ROOT_URL + "selBannerList" + URI_END;
    public static final String qryMsgsByPosition  = ROOT_URL + "qryMsgsByPosition" + URI_END;
    public static final String qryMsgById = ROOT_URL + "qryMsgById" + URI_END;

    // 学习园地 - 精品模块
    public final static String qrySpecialInfoList = ROOT_URL_TAIBAO + "qrySpecialInfoList" + URI_END;
    public final static String qryBooksList = ROOT_URL_TAIBAO + "qryBooksList" + URI_END;
    public final static String qryBooksByColumnId = ROOT_URL_TAIBAO + "qryBooksByColumnId" + URI_END;
    public final static String qryBooksByNameOrAuthur = ROOT_URL_TAIBAO + "qryBooksByNameOrAuthur" + URI_END;
    public final static String qryBookSortList = ROOT_URL_TAIBAO + "qryBookSortList" + URI_END;
    public final static String qryBookListBySort = ROOT_URL_TAIBAO + "qryBookListBySort" + URI_END;
    public final static String qryGameList = ROOT_URL_TAIBAO + "qryGameList" + URI_END;
    public final static String qryGamesByColumnId = ROOT_URL_TAIBAO + "qryGamesByColumnId" + URI_END;

    // 学习园地 - 内容模块
    public final static String qryChapterList = ROOT_URL_TAIBAO + "qryChapterList" + URI_END;

    // 我的工作 - 热门活动
    public final static String getHotActivitiesList = ROOT_URL + "getHotActivitiesList" + URI_END;
    public final static String getPolicyActivitiesList = ROOT_URL + "getPolicyActivitiesList" + URI_END;
    public final static String selAcceptPlan = ROOT_URL + "selAcceptPlan" + URI_END;

    // 我的工作 - 业务管理
    public final static String submitMyPlan = ROOT_URL + "submitMyPlan" + URI_END;
    public final static String selPolicyCountList = ROOT_URL + "selPolicyCountList" + URI_END;
    public final static String selPolicyList = ROOT_URL + "selPolicyList" + URI_END;
    public final static String selPolicyinfo = ROOT_URL + "selPolicyinfo" + URI_END;
    public final static String selRemindPolicyList = ROOT_URL + "selRemindPolicyList" + URI_END;
    public final static String selRemindSize = ROOT_URL + "selRemindSize" + URI_END;
    public final static String updatePlanStatus = ROOT_URL + "updatePlanStatus" + URI_END;
    public final static String uploadImgForWorkFlow = ROOT_URL_TAIBAO + "uploadImgForWorkFlow" + URI_END;

    //二维码签到
    public final static String meetingSignIn = ROOT_URL + "meetingSignIn" + URI_END;

    // 我的工作 - 会议签到

    public final static String selMeetingList = ROOT_URL + "selMeetingList" + URI_END;
    public final static String selMeetingHistoryList = ROOT_URL + "selMeetingHistoryList" + URI_END;
    // 我的工作 - 知识文库
    public final static String qryKnowledgeDocumentList = ROOT_URL + "qryKnowledgeDocumentList" + URI_END;

    //我的工作 - 会议助手
    public final static String qryMeetingList = ROOT_URL + "qryWorkMeetingList" + URI_END;
    public final static String qryMeetingDetail = ROOT_URL + "getWorkMeetingDetail" + URI_END;

    //绑定手机识别码
    public final static String confirmStaffPhoneId = ROOT_URL + "confirmStaffPhoneId" + URI_END;

    // 人力资源
    public final static String qryPerformanceAddressList = ROOT_URL + "qryPerformanceAddressList" + URI_END;
    public final static String getLeaveFlowsBySelf = ROOT_URL + "getLeaveFlowsBySelf" + URI_END;
    public final static String getNextPerson = ROOT_URL + "getNextPerson" + URI_END;
    public final static String getLeaveFlowNextPerson = ROOT_URL + "getLeaveFlowNextPerson" + URI_END;
    public final static String getOverTimeFlowNextPerson = ROOT_URL + "getOverTimeFlowNextPerson" + URI_END;
    public final static String getTripFlowNextPerson = ROOT_URL + "getTripFlowNextPerson" + URI_END;
    public final static String addLeaveFlow = ROOT_URL + "addLeaveFlow" + URI_END;
    public final static String agreeLeaveFlow = ROOT_URL + "agreeLeaveFlow" + URI_END;
    public final static String finishLeaveFlow = ROOT_URL + "finishLeaveFlow" + URI_END;
    public final static String finishTripFlow = ROOT_URL + "finishTripFlow" + URI_END;
    public final static String backLeaveFlow = ROOT_URL + "backLeaveFlow" + URI_END;
    public final static String getTripFlowsBySelf = ROOT_URL + "getTripFlowsBySelf" + URI_END;
    public final static String agreeTripFlow = ROOT_URL + "agreeTripFlow" + URI_END;
    public final static String backTripFlow = ROOT_URL + "backTripFlow" + URI_END;
    public final static String addOverTimeFlow = ROOT_URL + "addOverTimeFlow" + URI_END;
    public final static String getOverTimeFlowsBySelf = ROOT_URL + "getOverTimeFlowsBySelf" + URI_END;
    public final static String agreeOverTimeFlow = ROOT_URL + "agreeOverTimeFlow" + URI_END;
    public final static String backOverTimeFlow = ROOT_URL + "backOverTimeFlow" + URI_END;
    public final static String finishOverTimeFlow = ROOT_URL + "finishOverTimeFlow" + URI_END;
    public final static String getAllLeaveTypes = ROOT_URL + "getAllLeaveTypes" + URI_END;
    public final static String addTripFlow = ROOT_URL + "addTripFlow" + URI_END;
    public final static String getAttendByUser = ROOT_URL + "getAttendByUser" + URI_END;
    public final static String attendBack = ROOT_URL + "attendBack" + URI_END;
    public final static String getMonthAttendsByUser = ROOT_URL + "getMonthAttendsByUser" + URI_END;
    public final static String getMonthAttendCount = ROOT_URL + "getMonthAttendCount" + URI_END;
    public final static String checkUserHaveReach = ROOT_URL + "checkUserHaveReach" + URI_END;
    public final static String attendReach = ROOT_URL + "attendReach" + URI_END;
    public final static String performanceAddressList = ROOT_URL + "qryPerformanceAddressList" + URI_END;

    /*信息中心*/
    public final static String getCenterMessageList = ROOT_URL + "getCenterMessageList" + URI_END;
    public final static String selUserPostInfoList = ROOT_URL + "selUserPostInfoList" + URI_END;
    public final static String selUserStructureList = ROOT_URL + "selUserStructureList" + URI_END;
    public final static String selMailList = ROOT_URL + "selMailList" + URI_END;
    public final static String selMail = ROOT_URL + "selMail" + URI_END;
    public final static String intoMail = ROOT_URL + "intoMail" + URI_END;

    /**
     * 外勤签到
     */
    public final static String getFieldAtt = ROOT_URL + "workOutsideAttendReach" + URI_END;
    public final static String getFieldAttList = ROOT_URL + "qryWorkOutsideAttendList" + URI_END;
    //我的外勤签到
    public final static String qryWorkOutsideAttendList = ROOT_URL + "qryWorkOutsideAttendList" + URI_END;
    //我收到的外勤签到
    public final static String qryReceptionOutsideAttendList = ROOT_URL + "qryReceptionOutsideAttendList" + URI_END;
    //外勤签到反馈
    public final static String updateAttendanceFeedback = ROOT_URL + "updateAttendanceFeedback" + URI_END;
    //外勤领导指导
    public final static String updateAttendanceDirection = ROOT_URL + "updateAttendanceDirection" + URI_END;


    /**
     * 因公外出
     */
    public final static String addWorkOutsideInfo = ROOT_URL + "addWorkOutsideInfo" + URI_END;//外勤申请
    public final static String qryWorkOutsideInfoList = ROOT_URL + "qryWorkOutsideInfoList" + URI_END;//外勤信息列表
    public final static String qryWorkOutsideInfos = ROOT_URL + "qryWorkOutsideInfos" + URI_END;//外勤信息详情
    public final static String consentOutsideApply = ROOT_URL + "consentOutsideApply" + URI_END;//外勤审批同意流程
    public final static String refuseOutsideApply = ROOT_URL + "refuseOutsideApply" + URI_END;//外勤审批否决流程
    public final static String signWorkOutsideInfos = ROOT_URL + "signWorkOutsideInfos" + URI_END;//外勤签到
    public final static String signfeedbackInfos = ROOT_URL + "signfeedbackInfos" + URI_END;//拜访反馈

    /*意见反馈*/
    public final static String feedBackIndex = ROOT_URL + "feedBackIndex" + URI_END;


}
